package com.xboard.server.manager;

import java.util.List;
import java.util.Map;

import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.Query;

public interface DataManager {
	public void insert(Entity enty);
	public List<Map<String,Object>> list(Query query);	
	public Entity select(Query query);
	public void update(Entity enty);
	public void delete(Entity enty);
	
	public void deleteChart(Query query);
	public void deleteAll(Query query);
	public Key getKey(Query query);
	public Entity getEntity(Query query);
}
